3.73 \(\int \frac {1}{\sqrt {-4-12 x-9 x^2}} \, dx\)

Optimal. Leaf size=29 \[ \frac {(3 x+2) \log (3 x+2)}{3 \sqrt {-9 x^2-12 x-4}} \]

[Out]

1/3*(2+3*x)*ln(2+3*x)/(-(2+3*x)^2)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {608, 31} \[ \frac {(3 x+2) \log (3 x+2)}{3 \sqrt {-9 x^2-12 x-4}} \]

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[-4 - 12*x - 9*x^2],x]

[Out]

((2 + 3*x)*Log[2 + 3*x])/(3*Sqrt[-4 - 12*x - 9*x^2])

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 608

Int[1/Sqrt[(a_) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Dist[(b/2 + c*x)/Sqrt[a + b*x + c*x^2], Int[1/(b/2
+ c*x), x], x] /; FreeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {-4-12 x-9 x^2}} \, dx &=-\left (-\frac {(-6-9 x) \int \frac {1}{-6-9 x} \, dx}{\sqrt {-4-12 x-9 x^2}}\right )\\ &=\frac {(2+3 x) \log (2+3 x)}{3 \sqrt {-4-12 x-9 x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 28, normalized size = 0.97 \[ \frac {(3 x+2) \log (3 x+2)}{3 \sqrt {-(3 x+2)^2}} \]

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[-4 - 12*x - 9*x^2],x]

[Out]

((2 + 3*x)*Log[2 + 3*x])/(3*Sqrt[-(2 + 3*x)^2])

________________________________________________________________________________________

fricas [C]  time = 0.86, size = 6, normalized size = 0.21 \[ -\frac {1}{3} i \, \log \left (x + \frac {2}{3}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-(2+3*x)^2)^(1/2),x, algorithm="fricas")

[Out]

-1/3*I*log(x + 2/3)

________________________________________________________________________________________

giac [C]  time = 0.34, size = 23, normalized size = 0.79 \[ \frac {i \, \log \left ({\left (-3 i \, x - 2 i\right )} \mathrm {sgn}\left (-3 \, x - 2\right )\right )}{3 \, \mathrm {sgn}\left (-3 \, x - 2\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-(2+3*x)^2)^(1/2),x, algorithm="giac")

[Out]

1/3*I*log((-3*I*x - 2*I)*sgn(-3*x - 2))/sgn(-3*x - 2)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 25, normalized size = 0.86 \[ \frac {\left (3 x +2\right ) \ln \left (3 x +2\right )}{3 \sqrt {-\left (3 x +2\right )^{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(-(3*x+2)^2)^(1/2),x)

[Out]

1/3*(3*x+2)/(-(3*x+2)^2)^(1/2)*ln(3*x+2)

________________________________________________________________________________________

maxima [C]  time = 2.78, size = 6, normalized size = 0.21 \[ \frac {1}{3} i \, \log \left (x + \frac {2}{3}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-(2+3*x)^2)^(1/2),x, algorithm="maxima")

[Out]

1/3*I*log(x + 2/3)

________________________________________________________________________________________

mupad [B]  time = 0.29, size = 15, normalized size = 0.52 \[ -\frac {\ln \left (-3\,x-2\right )\,\mathrm {sign}\left (3\,x+2\right )\,1{}\mathrm {i}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(-(3*x + 2)^2)^(1/2),x)

[Out]

-(log(- 3*x - 2)*sign(3*x + 2)*1i)/3

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {- \left (3 x + 2\right )^{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-(2+3*x)**2)**(1/2),x)

[Out]

Integral(1/sqrt(-(3*x + 2)**2), x)

________________________________________________________________________________________